/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-6-4 下午5:21 Created by lyyang
 */
package com.xunton.bss.weixin.api.message.event;

import java.util.Date;

import com.jade.framework.base.criterion.Criteria;
import com.jade.framework.base.util.PagingList;
import com.xunton.bss.weixin.api.message.event.coupon.CouponEvent;

/**
 * 事件dao
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-6-4 下午5:21
 */
public interface EventDao
{
    void save(Event event);

    public PagingList<CouponEvent> query(Criteria criteria);

    public long statCouponCount(long id,String type,Date beginDate,Date endDate);

    public long statShakeUvCount(String eventType);
}
